package com.zyk;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
@SpringBootApplication
@EnableEurekaClient
//会扫描指定包下@feignclient注解标记的接口，生成代理对象
@EnableFeignClients(basePackages= {"com.zyk.service"})
public class ProductConsumer_80_Feign {
	public static void main(String[] args) {
		SpringApplication.run(ProductConsumer_80_Feign.class, args);
	}
}
